* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #EFEDD6;
}

#app {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
}

.title {
    margin-top: 20px;
}

.box {
    width: 400px;
    height: 200px;
    margin: 15px;
    border-radius: 10px;
    box-shadow: 2px 4px 5px rgb(0 0 0 / 30%);
    line-height: 200px;
    text-align: center;
    color: #fff;
    font-size: 45px;
    background-color: steelblue;
    transform: translateX(-300%);
    transition: transform 0.4s ease;
}

.box:nth-child(2n) {
    transform: translateX(300%);
}

.box.show {
    transform: translateX(0px);
}